package routers

import (
	"github.com/astaxie/beego"
)

func init() {

	beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"] = append(beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"],
		beego.ControllerComments{
			Method: "BannerAdd",
			Router: `/add`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

	beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"] = append(beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"],
		beego.ControllerComments{
			Method: "BannerUpdate",
			Router: `/update`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

	beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"] = append(beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"],
		beego.ControllerComments{
			Method: "BannerList",
			Router: `/list`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"] = append(beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"],
		beego.ControllerComments{
			Method: "ControllerAdd",
			Router: `/controller/add`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

	beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"] = append(beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"],
		beego.ControllerComments{
			Method: "ControllerUpdate",
			Router: `/controller/update`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

	beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"] = append(beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerDataController"],
		beego.ControllerComments{
			Method: "ControllerList",
			Router: `/controller/list`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerUserController"] = append(beego.GlobalControllerRouter["advertoper/banner_manage/bcontrollers:BannerUserController"],
		beego.ControllerComments{
			Method: "GetUserBannerData",
			Router: `/get-data`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

}
